This command converts a raw disk image to a VirtualBox Disk Image (VDI) file. The syntax is as follows:
VBoxManage convertdd <filename> <outputfile> VBoxManage convertdd stdin <outputfile> <bytes>